<!DOCTYPE html>
<html class="pixel-ratio-1" style="background-color: #f1f1f1;">

<head>
    <meta charset="utf-8" />
    <meta name="viewport"
        content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" />
    <meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate" />
    <!-- <meta name="viewport" content="width=375, user-scalabe=no"> -->
    <meta http-equiv="pragma" content="no-cache" />
    <meta http-equiv="expires" content="0" />
    <script src="../../../../public/vendor/flexible/flexible.js"></script>
    <title>销售计划单详情</title>
    <link rel="stylesheet" type="text/css" href="../../../../public/vendor/weui/weui.min.css" />
    <link rel="stylesheet" type="text/css" href="../../../../public/css/common.css" />
    <link rel="stylesheet" type="text/css" href="../../../../public/css/iconfont/iconfont.css" />
    <link rel="stylesheet" href="../../../../public/vendor/weui/jquery-weui.css">
    <link rel="stylesheet" href="../../../../public/vendor/select2/select2.css">
    <link rel="stylesheet" href="../../../../public/css/features/salesplan/looksalesplan.css">
    <script id="looksalesplanmain-template" type="text/x-template">
         <div class='entrycon'>
               <h4 class="plantails-head" style="padding-top: 10px;font-size: 17px;">单据信息</h4>
         </div>
            <div class="report-contents-item-box">
                <div class="weui-cell materialinfo">
                    <div class="weui-cell__hd"><label class="weui-label">单据编号</label></div>
                    <div class="weui-cell__bd">
                        {{=it.billNo}}
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">业务日期</label></div>
                    <div class="weui-cell__bd">
                        {{=it.bizDate}}
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">销售组织</label></div>
                    <div class="weui-cell__bd">
                       {{=it.saleOrg.name}}
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">客户信息</label></div>
                    <div class="weui-cell__bd">
                        {{=it.customer.name}}( {{=it.customer.numCode}})
                    </div>
                </div>
                
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">发货类型</label></div>
                    <div class="weui-cell__bd">
                         {{? Utils.IsNotNull(it.seller)}}
                        {{=it.shippingType}}
                         {{?}}
                    </div>
                </div>
                 <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">发货日期</label></div>
                    <div class="weui-cell__bd">
                        {{=it.deliveryDate}}
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">联系方式</label></div>
                    <div class="weui-cell__bd">
                        {{=it.customer.phoneNum}}
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">客户地址</label></div>
                    <div class="weui-cell__bd">
                        {{=it.customer.address}}
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">销售员</label></div>
                    <div class="weui-cell__bd">
                        {{? Utils.IsNotNull(it.seller)}}
                         {{=it.seller.name}}( {{=it.seller.numCode}})
                         {{?}}
                    </div>
                </div>
            </div>
        </script>
    <script id="looksalesplan-template" type="text/x-template">
         <div class='entrycon'>
               <h4 class="plantails-head" style="padding-top: 10px;font-size: 17px;">计划明细</h4>
         </div>
        {{~ it :value:index}}
        <div class="report-contents-item-box">
           <!-- <div style="padding:10px">
                        <div class="entry" style="text-align:center;font-weight:800">分录{{=value.seq}}</div>
                    </div> -->
            <div class="weui-cell materialinfo">
                <div class="weui-cell__hd"><label class="weui-label">物料</label></div>
                <div class="weui-cell__bd">
                    {{=value.material.name}}({{=value.material.numCode}})
                </div>
            </div>
            <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">物料规格</label></div>
                <div class="weui-cell__bd">
                    {{=value.material.model}}
                </div>
            </div>
            <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">计划基本数量</label></div>
                <div class="weui-cell__bd">
                     {{? Utils.IsNotNull(value.baseQty)}}
                         {{=value.baseQty}}
                      {{??}}
                      <div>&mdash;</div>
                      {{?}}
                </div>
            </div>
            <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">基本计量单位</label></div>
                <div class="weui-cell__bd">
                    {{=value.material.baseMeasureUnit}}                    
                </div>
            </div>
            
            <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">计划辅助数量</label></div>
                <div class="weui-cell__bd">                    
                     {{? Utils.IsNotNull(value.fassistQty)}}
                        {{=value.fassistQty}}
                      {{??}}
                      <div>&mdash;</div>
                      {{?}}
                </div>
            </div>
            <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">辅助计量单位</label></div>
                <div class="weui-cell__bd">
                    {{? Utils.IsNotNull(value.material.fassistUnit)}}
                           {{=value.material.fassistUnit}}
                           {{??}}
                           <div>&mdash;</div>
                           {{?}}
                </div>
            </div>
             <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">是否赠品</label></div>
                <div class="weui-cell__bd">                    
                   {{? value.isGift===true}}
                            是
                            {{??}}
                            否
                            {{?}}
                </div>
            </div>
            <div class="weui-cell">
                <div>
                    <div class="weui-uploader__hd">
                        <p class="weui-uploader__title">备注</p>
                    </div>
                    <textarea class="weui-textarea remark" rows="1" name="tags" data-plugin="maxlength"
                     data-placement="bottom-right-inside" readonly="readonly">{{=value.remark}}</textarea>
                </div>
            </div>
        </div>
        {{~}}
        <div class="report-contents-item-box operation ">
                <div class="weui-cell operation-child">
                    <a href="javascript:;" class="weui-btn weui-btn_primary"
                        style="width: 100%;border-radius:8px;margin-top: 0px;margin-right: 0px;" id="returnlist"
                        v-on:click="returnlist">返回列表</a>
                </div>
        </div>
    </script>
</head>

<body>
    <div id="main-looksalesplan">
        <div id="looksalesplan">
            <div id="looksalesMain">
            </div>
            <div id="looksalesEntry">
            </div>

        </div>
    </div>


    <script type="text/javascript" src="../../../../public/vendor/jquery/jquery.min.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/vue/vue.min.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/moment/moment.min.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/weui/weui.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/weui/jquery-weui.min.js"></script>
    <script type="text/javascript" src="../../../../public/js/common/iosadaptation.js"></script>
    <script type="text/javascript" src="../../../../public/js/config/utils.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/select2/select2.full.min.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/select2/i18n/zh-CN.js"></script>
    <script type="text/javascript" src="../../../../public/js/common/iosadaptation.js"></script>
    <script type="module" src="../../../../public/js/features/biz/salesplan/looksalesplan.js"></script>
</body>

</html>